﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XuLyDuLieu.ClassDetails
{
   public  class Gio
   {
       #region "[Atributes]"
       private int m_SoLuong;
       private string m_TenHoacGiaTri;
       private double m_GioiHanTren;
       private double m_GioiHanDuoi;
       private List<string> m_listTenHoacGiaTri = new List<string>();
       #endregion

       #region "[Properties]"
       /// <summary>
       /// số lượng các phần tử trong giỏ
       /// </summary>
       public int SoLuong
       {
           get { return m_SoLuong; }
           set { m_SoLuong = value; }
       }

       /// <summary>
       /// Tên hoặc giá trị thuộc tính
       /// </summary>
       public string TenHoacGiaTri
       {
           get { return m_TenHoacGiaTri; }
           set { m_TenHoacGiaTri = value; }
       }

       /// <summary>
       /// Giới hạn trên. Dành cho kiểu Numeric
       /// </summary>
       public double GioiHanTren
       {
           get { return m_GioiHanTren; }
           set { m_GioiHanTren = value; }
       }

       /// <summary>
       /// giới hạn dưới dành cho kiểu Numeric
       /// </summary>
       public double GioiHanDuoi
       {
           get { return m_GioiHanDuoi; }
           set { m_GioiHanDuoi = value; }
       }

       /// <summary>
       /// Danh sách tên hoặc giá trị của thuộc tính
       /// <para>Dành cho kiểu dữ liệu Numeric</para>
       /// </summary>
       public List<string> ListTenHoacGiaTri
       {
           get { return m_listTenHoacGiaTri; }
           set { m_listTenHoacGiaTri = value; }
       }
       #endregion
   }
}
